<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>栅格系统</title>
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">
  <style>
    div[class*=col-xs]{
      height: 50px;
      border: solid 1px #258;
    }
  </style>
</head>
<body>
  <div class="container">
    <h2>12 份</h2>
    <div class="col-xs-1"></div>
    <div class="col-xs-1"></div>
    <div class="col-xs-1"></div>
    <div class="col-xs-1"></div>
    <div class="col-xs-1"></div>
    <div class="col-xs-1"></div>
    <div class="col-xs-1"></div>
    <div class="col-xs-1"></div>
    <div class="col-xs-1"></div>
    <div class="col-xs-1"></div>
    <div class="col-xs-2"></div>
    <div class="col-xs-2"></div>
    <div class="col-xs-2"></div>
    <div class="col-xs-2"></div>
    <div class="col-xs-2"></div>
    <div class="col-xs-2"></div>
    <div class="col-xs-2"></div>

    <h2>屏幕划分</h2>
    <div class="col-xs-12 col-sm-6 col-md-4 col-lg-2"></div>
    <div class="col-xs-12 col-sm-6 col-md-4 col-lg-2"></div>
    <div class="col-xs-12 col-sm-6 col-md-4 col-lg-2"></div>
    <div class="col-xs-12 col-sm-6 col-md-4 col-lg-2"></div>
    <div class="col-xs-12 col-sm-6 col-md-4 col-lg-2"></div>
    <div class="col-xs-12 col-sm-6 col-md-4 col-lg-2"></div>
    <div class="col-xs-12 col-sm-6 col-md-4 col-lg-2"></div>
    <div class="col-xs-12 col-sm-6 col-md-4 col-lg-2"></div>
    <div class="col-xs-12 col-sm-6 col-md-4 col-lg-2"></div>
    <div class="col-xs-12 col-sm-6 col-md-4 col-lg-2"></div>
    <div class="col-xs-12 col-sm-6 col-md-4 col-lg-2"></div>
    <div class="col-xs-12 col-sm-6 col-md-4 col-lg-2"></div>

    <h2>列偏移</h2>
    <div class="col-xs-4 col-xs-offset-4"></div>

    <div class="clearfix"></div>
    <h2>列嵌套</h2>
    <div class="col-xs-6">
      <div class="col-xs-4 col-xs-offset-4 col-lg-10"></div>
    </div>
  </div>
</body>
</html>